//
//  XHTrafficMoneyCell.m
//  umibus
//
//  Created by 冷山 on 16/6/17.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHTrafficMoneyCell.h"

@implementation XHTrafficMoneyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.la_height.constant = 0.5;
    self.la_height1.constant = 0.5;
    self.ui_useButton.layer.masksToBounds = YES;
    self.ui_useButton.layer.cornerRadius = 5;
    self.ui_useButton.layer.borderColor = [ColorManager colorWithHexString:@"#E45252"].CGColor;
    self.ui_useButton.layer.borderWidth = 1;
    
    self.ui_buyBack.layer.masksToBounds = YES;
    self.ui_buyBack.layer.cornerRadius = 5;
    self.ui_buyBack.layer.borderColor = [ColorManager colorWithHexString:@"#E45252"].CGColor;
    self.ui_buyBack.layer.borderWidth = 1;

}
- (IBAction)buyBackAction:(id)sender
{
    [_delegate buyBackAction:sender];
}
- (IBAction)goBuyAction:(id)sender
{
    [_delegate goBuyAction:sender];
}
- (IBAction)orderEarningAction:(id)sender
{
    [_delegate orderEarningAction:sender];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
